<template>
  <div>
    <van-tabbar route v-model="active" fixed placeholder active-color="#F59228">
        <van-tabbar-item name="site" to="/main/sitedetail" icon="other-pay">
            {{$t('Site')}}
        </van-tabbar-item>
        <van-tabbar-item name="inverter" to="/main/inverter" icon="credit-pay">
            {{$t('Inverter')}}
        </van-tabbar-item>
        <van-tabbar-item name="alarm" to="/main/alarm" icon="warning-o">
            {{$t('Alarm')}}
        </van-tabbar-item>
        <van-tabbar-item name="alarm" to="/main/user" icon="user-o">
            {{$t('Account')}}
        </van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  data() {
    return {
      active:'home'
    }
  },
  mounted() {
    
  },
  methods: {
  },

}
</script>

<style scoped lang="less">

</style>
